fn_head=(ctx)=>{
    let html = `
    <div id="all">
    <tr>
        <td>
            <input type="text" name="keyword" >
            <input type="button" value="查询" onclick="query()">
        </td>
        <td>
            <input type="button" value="新增" onclick="add()">
        </td>
    </tr>

    <table id="content">
        
        <tr>
            <td>Id</td>
            <td>标题</td>
            <td>摘要</td>
            <td>内容</td>
            <td>分类</td>
            <td>作者</td>
            <td>发表时间</td>
            <td>操作</td>
            </tr>

    </table>
    </div>
    `
    ctx.body=html
}


let get = [['/head',fn_head]]

module.exports={
    'GET':get
}

